package com.proxy;

import java.lang.reflect.Proxy;

/**
 * @ClassName Test
 * @Description 动态代理
 * @Author 2214361854
 * @Date 2022/3/5 13:56
 * @Version 1.0
 */
public class Test {
    public static void main(String[] args) {
        UserService userService = ProxyUtil.getProxy(new UserServiceImpl());
        System.out.println(userService.login("admin","123456"));
    }
}
